package com.zff.rental.vo.apartment.apartment.manager;

import com.zff.rental.validation.NumberIn;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author HCY
 */
@Data
public class AuditApartmentParams {
    /**
     * 公寓Id
     */
    @NotNull(message = "公寓Id不能为空")
    private Long apartmentId;

    /**
     * 审核状态 2：审核通过、3：审核不通过
     */
    @NotNull(message = "审核状态不能为空")
    @NumberIn(in = {2, 3}, message = "审核状态只能为2(审核通过)或3(审核不通过)")
    private Byte auditStatus;

    /**
     * 审核备注消息
     */
    private String auditMsg;
}
